import request from '@/utils/request'

// 查询审核日志列表
export function listConfirmLogs(query) {
  return request({
    url: '/oa/confirmLogs/list',
    method: 'get',
    params: query
  })
}

// 查询审核日志详细
export function getConfirmLogs(confirmLogUuid) {
  return request({
    url: '/oa/confirmLogs/' + confirmLogUuid,
    method: 'get'
  })
}

// 新增审核日志
export function addConfirmLogs(data) {
  return request({
    url: '/oa/confirmLogs',
    method: 'post',
    data: data
  })
}

// 修改审核日志
export function updateConfirmLogs(data) {
  return request({
    url: '/oa/confirmLogs',
    method: 'put',
    data: data
  })
}

// 删除审核日志
export function delConfirmLogs(confirmLogUuid) {
  return request({
    url: '/oa/confirmLogs/' + confirmLogUuid,
    method: 'delete'
  })
}
